﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Utility;

namespace MsgCenter.Web
{
    public partial class CookiesRequired : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string strLoginName = BaseUI.UserSessionService.GetLoginName(HttpContext.Current);
            if (!strLoginName.IsNullOrEmpty())
            {
                BaseUI.UserSessionService.GetUserInfo(strLoginName, string.Empty);
                BaseUI.UserSessionService.SetSsoCookie(HttpContext.Current);
            }
        }
    }
}